package com.neusoft.qmdata.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;

/**
 * @Description: QM_SPAREPART
 * @Author: jeecg-boot
 * @Date:   2019-12-30
 * @Version: V1.0
 */
@Data
@TableName("qm_sparepart")
public class QmSparepart implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**主键id*/
	@TableId(type = IdType.ID_WORKER_STR)
    private java.lang.String id;
	/**部门编码（来源组织机构）*/
	@Excel(name = "部门编码（来源组织机构）", width = 15)
    private java.lang.String departId;
	/**商品类型编码（来源类型）*/
	@Excel(name = "商品类型编码（来源类型）", width = 15)
    private java.lang.String typeId;
	/**商品编码*/
	@Excel(name = "商品编码", width = 15)
    private java.lang.String sparepartCode;
	/**商品名称*/
	@Excel(name = "商品名称", width = 15)
    private java.lang.String sparepartName;
	/**简码*/
	@Excel(name = "简码", width = 15)
    private java.lang.String shortCode;
	/**英文名称*/
	@Excel(name = "英文名称", width = 15)
    private java.lang.String englishName;
	/**类型（字典）*/
	@Excel(name = "类型（字典）", width = 15)
    private java.lang.String sparepartType;
	/**计量单位（字典）*/
	@Excel(name = "计量单位（字典）", width = 15)
    private java.lang.String unit;
	/**数据来源*/
	@Excel(name = "数据来源", width = 15)
    private java.lang.String dataSource;
	/**备注说明*/
	@Excel(name = "备注说明", width = 15)
    private java.lang.String remark;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    private java.lang.String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private java.util.Date createTime;
	/**更新人*/
	@Excel(name = "更新人", width = 15)
    private java.lang.String updateBy;
	/**更新时间*/
	@Excel(name = "更新时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private java.util.Date updateTime;
	/**状态（1启用 0不启用）*/
	@Excel(name = "状态（1启用 0不启用）", width = 15)
    private java.lang.Integer status;
}
